package com.rm.zeyou.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 支付方式配置表
 * </p>
 *
 * @author YanYang
 * @since 2025-04-09 10:27:55
 */
@Getter
@Setter
@TableName("t_pay_config")
@ApiModel(value = "PayConfig对象", description = "支付方式配置表")
public class PayConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("支付方式配置ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("图标")
    @TableField("icon")
    private String icon;

    @ApiModelProperty("名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("code")
    @TableField("code")
    private String code;

    @ApiModelProperty("是否启用（0=否）")
    @TableField("enable")
    private Integer enable;

    @ApiModelProperty("排序")
    @TableField("sort")
    private Long sort;

    @ApiModelProperty("是否删除(0=否，1=是)")
    @TableField("is_delete")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty("创建时间")
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
      @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;


}
